import baseCustomRequest from '@/services'
const prefixPath = import.meta.env.VITE_PREFIX_PATH
export default {
    getMovieList: (data: any) => {
        return baseCustomRequest.post({
            url: prefixPath + '/movie/list',
            data
        })
    },
    getMovieDetail: (id: number) => {
        return baseCustomRequest.get({
            url:prefixPath + '/movie/list/detail/' + id,
        })
    },
    getDownloadUrl: (id: number) => {
        return baseCustomRequest.get({
            url:prefixPath + '/movie/list/download/' + id,
        })
    }
}